<html>

<head>
    <meta charset="utf-8" />
    <title>这是标题</title>
</head>



<body>
    <!-- (2)复选控件 -->
    <form action="#" method="get">
        爱好:抽烟<input type="checkbox" name="hobby" value="1">
        喝酒<input type="checkbox" name="hobby" value="2">
        打麻将<input type="checkbox" name="hobby" value="3" checked><br>
        <input type="submit" value="提交数据">

    </form>

    <br>
    <br>
    <br>
    <form action="#" method="get">
        阅读以上内容并同意规范<input type="checkbox" name="isAgree" value="1"><br>
        <input type="submit" value="提交选择">
    </form>
</body>

</html>